<template>
  <div id='app'>
    <button v-on:click="count++">You clicked me {{ count }} times.</button>
  </div>

</template>

<script>
import { onMounted, onBeforeMount } from 'vue'

export default {
  name: 'FirstComponent',
  data () {
    // debugger
    return {
      count: 0
    }
  },
  setup () {
    onBeforeMount(() => {
      console.log('a111111111111')
    })
    onMounted(() => {
      console.log('asdasdasdasdasdad')
    })
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
